package cn.silver.module.authority.bean;

import cn.silver.framework.mybatis.bean.BaseBean;
import cn.silver.module.authority.domain.SysTenantMenu;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.github.linpeilie.annotations.AutoMapper;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;


/**
 * 租户视图对象 sys_tenant
 *
 * @author Silver Zhou
 */
@Data
@NoArgsConstructor
@ExcelIgnoreUnannotated
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = SysTenantMenu.class)
@Schema(name = "TenantMenuBean", title = "系统租户菜单对象")
public class TenantMenuBean extends BaseBean implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 租户编号
     */
    @Schema(title = "租户编号")
    private String tenantId;
    @Schema(title = "菜单主键")
    private String menuId;
}
